A lambda expression can accept a destructured declaration as a parameter.

forEach() on a Map passes in a single Map.Entry to the lambda expression, but a destructuring declaration can give you the key and value values as individually-named properties.

You can learn more about this in:
Run Edit